import 'package:flutter/material.dart';

class Event {
  final DateTime date;
  final String title;
  final Widget icon;
  final TextStyle style;
  
  Event({this.date, this.title, this.style, this.icon}) : assert(date != null);
  
  @override
  bool operator == (other) {
    return this.date == other.date && this.title == other.title;
  }
  
  @override
  int get hashCode => super.hashCode;
}
